﻿<!DOCTYPE HTML>
<html>
<head>
	<meta charset="utf-8">
	<meta name="renderer" content="webkit|ie-comp|ie-stand">
	<link rel="Bookmark" href="../../imgs/favicon.ico"/>
	<link rel="Shortcut Icon" href="../../imgs/favicon.ico"/>
	<link rel="stylesheet" type="text/css" href="../../static/h-ui/css/H-ui.min.css"/>
	<link rel="stylesheet" type="text/css" href="../../static/h-ui.admin/css/H-ui.admin.css"/>
	<link rel="stylesheet" type="text/css" href="../../lib/Hui-iconfont/1.0.8/iconfont.css"/>
	<link rel="stylesheet" type="text/css" href="../../static/h-ui.admin/skin/default/skin.css" id="skin"/>
	<link rel="stylesheet" type="text/css" href="../../static/h-ui.admin/css/style.css"/>
	<title>得然</title>
	<style type="text/css">
	</style>
</head>
<body>
<!--顶部-->
<header class="navbar-wrapper"></header>
<!--左侧菜单-->
<aside class="Hui-aside">
	<div class="menu_dropdown bk_2" id="leftMenu"></div>
</aside>

<!--首页-->
<section class="Hui-article-box">
	<nav class="breadcrumb">
		<!--<i class="Hui-iconfont">&#xe67f;</i>-->
		<a href="../../index.html" class="maincolor">首页</a>
		<span class="c-gray en">&gt;</span> 案例管理
		<span class="c-gray en">&gt;</span> 订单管理
	</nav>
	<div class="Hui-article">
		<article class="cl pd-20">
			<div class="cl pd-5 bg-1 bk-gray">
				<!--<span class="l">-->
					<!--<a href="javascript:;" onclick="lay_edit('添加','company-edit.html','',0)"-->
					   <!--class="btn btn-primary radius">-->
						<!--&lt;!&ndash;<i class="Hui-iconfont">&#xe600;</i>&ndash;&gt;-->
						<!--添加-->
					<!--</a>-->
				<!--</span>-->
				<span class="text-c" style="margin-left: 20px;">
					<input type="text" class="input-text" placeholder="搜索订单号" style="width: 150px;" id="orderno"/>
					<input type="text" class="input-text" placeholder="搜索需求名称" style="width: 150px;" id="xqtitle"/>
					<input type="text" class="input-text" placeholder="搜索合作方" style="width: 150px;" id="seller"/>
					<button class="btn btn-success" onclick="toSearch();">搜索</button>
				</span>
				<span class="r">共有数据：<strong id="pageTotal">54</strong> 条</span>
			</div>
			<div class="mt-10">
				<table class="table table-border table-bordered table-hover table-bg">
					<thead>
					<tr>
						<th scope="col" colspan="20">案例需求订单</th>
					</tr>
					<tr class="text-c">
						<th>ID</th>
						<th>订单号</th>
						<th>需求名称</th>
						<th>待合作方</th>
						<th>支付方式</th>
						<th>价格(元)</th>
						<th>订单状态</th>
						<th width="70">申请时间</th>
						<th width="70">确认时间</th>
						<th width="70">完成时间</th>
						<th>操作</th>
					</tr>
					</thead>
					<tbody>
					<tr class="text-c">
						<td>-</td>
						<td>-</td>
						<td>-</td>
						<td>-</td>
						<td>-</td>
						<td>-</td>
						<td class="f-14">
						</td>
					</tr>
					</tbody>
				</table>
				<div id="pageHtml"></div>
			</div>
		</article>
	</div>
</section>

<!--自定义弹窗-->
<span id="msgPop"></span>
</body>
</html>


<script type="text/javascript" src="../../lib/jquery/1.9.1/jquery.min.js"></script>
<script type="text/javascript" src="../../lib/layer/2.4/layer.js"></script>
<script type="text/javascript" src="../../static/h-ui/js/H-ui.js"></script>
<script type="text/javascript" src="../../static/h-ui.admin/js/H-ui.admin.page.js"></script>
<script type="text/javascript" src="../../js/config.js"></script>
<script type="text/javascript" src="../../js/view.js"></script>
<script type="text/javascript" src="../../js/cx-order.js"></script>
<script type="text/javascript">
	var pages = {
		start: 1, limit: 10,
		url: '/admin/views/case/order.html'
	};
	var start = getParamByUrl('start');
	var orderno = getParamByUrl('orderno');
	var xqtitle = getParamByUrl('xqtitle');
	var seller = getParamByUrl('seller');
	start = start>0 ? start : 1;
	(function () {
		$('#orderno')[0].value = orderno;
		$('#xqtitle')[0].value = xqtitle;
		$('#seller')[0].value = seller;
		getIndex();
	})();
	//搜索
	function toSearch(){
		var orderno = $('#orderno').val();
		var xqtitle = $('#xqtitle').val();
		var seller = $('#seller').val();
		var httpUrl = pages.url;
		httpUrl += '?start=' + pages.start;
		httpUrl += '&orderno=' + orderno;
		httpUrl += '&xqtitle=' + escape(xqtitle);
		httpUrl += '&seller=' + escape(seller);
		top.location.href = httpUrl;
	}
</script>